package com.abel.quiz.dao;

import com.abel.quiz.dao.BaseDao;
import com.abel.quiz.po.AuthRolePo;
import com.abel.quiz.po.AuthRolePoCriteria;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
* @author abel.lin
* @date_time 2017-08-04 13:57
* @description
*/
public interface AuthRolePoDao extends BaseDao<AuthRolePo, AuthRolePoCriteria>{

    int countByExample(AuthRolePoCriteria example);
    
    int deleteByExample(AuthRolePoCriteria example);
    
    int deleteByPrimaryKey(String id);
    
    int insert(AuthRolePo record);
    
    int insertSelective(AuthRolePo record);
    
    List<AuthRolePo> selectByExample(AuthRolePoCriteria example);

    AuthRolePo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AuthRolePo record, @Param("example") AuthRolePoCriteria example);

    int updateByExample(@Param("record") AuthRolePo record, @Param("example") AuthRolePoCriteria example);

    int updateByPrimaryKeySelective(AuthRolePo record);

    int updateByPrimaryKey(AuthRolePo record);
}